/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package server.negocio;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import server.dominio.Beneficiario;
import server.dominio.Cita;
import server.persistenciaHibernate.Hibernate_Cita_DAO;

/**
 *
 * @author tpaxle
 */
public class prueba {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Hibernate_Cita_DAO daocita = new Hibernate_Cita_DAO();
        List<Object []> listas= daocita.select("FROM Cita");
        //System.out.println(bene.getBeneficiario().getApellidos());
        Cita cita= (Cita) listas.get(0)[0];
        System.out.println("hola");
    }

}
